-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the preview language version #16098
Conversation
Hello @pakrym! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
@@ -70,7 +70,7 @@ public async Task GetCursor() | |||
It.IsAny<long>(), | |||
It.IsAny<long>(), | |||
It.IsAny<CancellationToken>())) | |||
.Returns((bool _, string path, long _, long _, CancellationToken _) => Task.FromResult(chunks[path].Object)); | |||
.Returns((bool _, string path, long __, long ___, CancellationToken ____) => Task.FromResult(chunks[path].Object)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did it not compile? I recall having same problem. Bumping installed .NET SDK solved that for me.
Btw. The multiple _ look funny.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feature (lambda parameter discard) is a preview compiler feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes: #16084